package com.msb.lmsc;

import java.io.Serializable;

public class Book implements Serializable {
    private int bNo;
    private String bName;
    private String bAuthor;
    private double bPrice;

    // 构造函数
    public Book(int bNo, String bName, String bAuthor, double bPrice) {
        this.bNo = bNo;
        this.bName = bName;
        this.bAuthor = bAuthor;
        this.bPrice = bPrice;
    }

    // Getter 和 Setter 方法
    public int getbNo() {
        return bNo;
    }

    public void setbNo(int bNo) {
        this.bNo = bNo;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbAuthor() {
        return bAuthor;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    public double getbPrice() {
        return bPrice;
    }

    public void setbPrice(double bPrice) {
        this.bPrice = bPrice;
    }
}